//
//  YSBubbleTransition.h
//  YSKitDemo
//
//  Created by MOLBASE on 2018/8/14.
//  Copyright © 2018年 YangShen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIViewController+YSBubbleTransition.h"

typedef NS_ENUM(NSInteger, YSBubbleTransitionType) {
    YSBubbleTransitionTypeShow = 0,
    YSBubbleTransitionTypeHide,
};

@interface YSBubbleTransition : NSObject <UIViewControllerAnimatedTransitioning>

/// 转场方式：显示/隐藏
@property (nonatomic, assign) YSBubbleTransitionType transitionType;

- (instancetype)initWithAnchorRect:(CGRect)anchorRect;
+ (instancetype)transitionWithAnchorRect:(CGRect)anchorRect;

@end
